package pw.hais.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 登陆后才能操作的  控制器
 * @author Hello_海生
 * @date 2014年7月24日
 */
@WebServlet(name = "Bases")
public class BasesServlet extends BaseServlet {
	private static final long serialVersionUID = 1L;
	
	
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {
		super.doGet(req, resp);	//调用父类方法
		
		//拦截 token进行判断
		if("".equals(getString("token"))){
			
		}
		
	}
	

}
